﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LowLevelGraphics.Filter
{
    /// <summary>
    /// imextendedmin
    /// BW = imextendedmin(I,h) computes the extended-minima transform, which is the regional minima of the H-minima transform. h is a nonnegative scalar.
    ///
    ///Regional minima are connected components of pixels with a constant intensity value, and whose external boundary pixels all have a higher value.
    ///
    ///By default, imextendedmin uses 8-connected neighborhoods for 2-D images, and 26-connected neighborhoods for 3-D images. For higher dimensions, imextendedmin uses conndef(ndims(I),'maximal').
    ///
    ///BW = imextendedmin(I,h,conn) computes the extended-minima transform, where conn specifies the connectivity. conn can have any of the following scalar values.
    /// </summary>
    public class ImageExtendedMinimaTransform : BaseImageFilter
    {
        /// <summary>
        /// Default constructor
        /// </summary>
        public ImageExtendedMinimaTransform()
        {
        }

        /// <summary>
        /// used by clone to create a deep copy
        /// </summary>
        /// <param name="_imageExtendedMinimaTransform"></param>
        internal ImageExtendedMinimaTransform(ImageExtendedMinimaTransform _imageExtendedMinimaTransform)
        {
        }

        /// <summary>
        /// used to create a deep copy
        /// </summary>
        /// <returns></returns>
        public override object Clone()
        {
            return new ImageExtendedMinimaTransform(this);
        }
    }
}
